Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate multiple queued withdrawals #228

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

ypatil12
Copy link
Collaborator

@ypatil12 ypatil12 commented Oct 6, 2023

This PR updates the migrateQueuedWithdrawal function within the DM to migrate multiple queued withdrawals to easily batch multiple migrations. To handle updating multiple withdrawals without reverting, the migrateQueuedWithdrawal in the SM does not revert if the withdrawal has already been provided. We also remove all withdrawalRoot calculations from the DM.

Migration tests will be added in subsequent PR.

Copy link
Contributor

@ChaoticWalrus ChaoticWalrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Noted one tiny nit; would prefer if you can fix it before merging.

@ypatil12 ypatil12 merged commit 68c5971 into Combined-Withdrawal-Flow-No-Limbo Oct 6, 2023
6 of 10 checks passed
@ypatil12 ypatil12 deleted the feat/multiMigration branch October 6, 2023 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants